package com.yanfan.energy.service;


import com.yanfan.energy.domain.*;

import java.util.List;
import java.util.Map;

/**
 * 批次相关service层
 */
public interface BatchesService {

    List<Batches> batchesList(BatchesRequest request);

    int addBatches(BatchesRequest request) throws Exception;

    int updateBatches(BatchesRequest request);

    Batches batchesDetail(BatchesRequest request);

    int deleteBatches(BatchesRequest request);

    BatchSummaryResponse batchSummary();

    List<FactoryVo> factoryList();

    List<WorkshopVo> workshopList(Integer plantId);

    Map<String, Object> managerHome();
}
